#pragma once
#include "../zhelpers.h"
#include <map>
#include <string>
#include "server.h"
#include "thread.h"
#include "data.h"

using std::string;
using std::vector;

class front_server : public server
{
	address _gf_extract;
	address _gf_merge;

	address _lf_extract;
	address _lf_merge;

	public:
	front_server(){set_name("front");}

	void set_gf_extract(address s){_gf_extract = s;}
	void set_gf_merge(address s){_gf_merge = s;}
	address get_gf_extract(){return _gf_extract;}
	address get_gf_merge(){return _gf_merge;}

	void set_lf_extract(address s){_lf_extract = s;}
	void set_lf_merge(address s){_lf_merge = s;}
	address get_lf_extract(){return _lf_extract;}
	address get_lf_merge(){return _lf_merge;}

	int start();
};


